{template "header.html"}
<!--首页导航-->


<!--首页列表-->


<div class="d-container  d-huading-0" >
	<div class="d-row">
    	<div class="d-col-md-8-juzhong">
			<div class="d-yuanjiao-bianhua-10-10 d-kuan d-beijing-baise d-bianhua-20 " style="background-color: #bd5551">
				<!--圈子头部-->
				<div class="row">
					<!--返回-->
					<div class="col-md-12 col-xs-12 d-div-zou d-huading-100"> 
					    <a href="javascript:goBack();">
					        <img class="d-yuanjiao-20 pull-left" src="{HOME_THEME_PATH}quan/img/fanhui.svg" height="20"/>
						</a>
						<a href="{CLIENT_URL}index.php?ye=0">
						    <img class="pull-right" src="{HOME_THEME_PATH}quan/img/shouye3.png" height="20"/> 
						</a>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="d-container">
	<div class="d-row">
	    <div class="d-col-md-8-juzhong">
			
			<div class=" d-kuan d-beijing-baise d-bianhua-20 d-yuanjiao-bianhua-10-10-xia" style="background-color: #bd5551">
				<!--圈子头部-->
				<div class="row">
					<!--返回-->
					
					<div class="d-kuan d-buhuanhang d-a-bai">
						<div class="d-kuan ">
							<div class="col-md-12 col-xs-12 d-waigao-20 d-xia-20 d-div-zou  d-buhuanhang">
								<div class=" d-yuanjiao-10">
									<img class="d-yuanjiao-20" src="{HOME_THEME_PATH}quan/img/xinping.png" height="60"/>
								</div>
								<div class="d-zuo-10">
									<div class="d-jiacu d-wenzi-16 d-zitiyanse-bai-100">申请管理员的用户</div>
									<div class="d-wenzi-14 d-zitiyanse-bai d-wenzi-touming-60 d-buhuanhang">
										<span >
											申请用户 ：
										    {php $quanid = $_GET['quanzi']}
										    {count action=table table=1_quan_guanli quanid=$quanid return=quantongji}
										    {$quantongji_count}
										</span> 
										
									</div>
								</div>
							</div>
						</div>
						<div class="d-kuan-100  d-xia-20 d-you-10 d-quxian-0">
							
							
						</div>
					</div>
					<div class="d-kuan d-buhuanhang d-a-bai d-zitiyanse-bai-100">
						<div class="col-md-12 col-xs-12 d-wenzi-touming-90">
							
						</div>
					</div>
					<div class="d-kuan d-buhuanhang d-a-bai d-zitiyanse-bai-100 d-shang-10">
						
						<div class="col-md-12 col-xs-12 ">
							<div class="d-beijing-baise-10 d-hanggao-30 d-yuanjiao-10 d-wenzi-juzhong">最新申请</div>
					    </div>
						
					</div>
				</div>

			</div>
			
			<div class="d-clear"></div>
			<!--圈子导航-->
			

			
			
			<!--圈子帖子-->
			<div id="content_list">
			    {template "guanli-list-data.html"}
			</div>
			<div class="d-kuan d-gao-80"></div>
		</div>
		
	</div>
</div>

<style>

</style>

<script>
	// 模块点赞
	$(".tag_zan_list").click(function(){
	    var id = $(this).data("id");
	    $.get("{dr_url_prefix('index.php')}?s=quan&c=son&m=zanlian&id="+id, function(data){
	        dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
	        if (data.msg.value=="点赞成功") {
				$('#module_zan_list_'+id).html(data.data);
	        	 $('#tag_zan_list_'+id).html('<img src="{HOME_THEME_PATH}quan/img/zan3.svg" width="24" height="24" class="d-yuanjiao-50 d-div-zuo"/>'
	        	);
	        }else{
				$('#module_zan_list_'+id).html(data.data);
	        	$('#tag_zan_list_'+id).html('<img src="{HOME_THEME_PATH}quan/img/zan.svg" width="24" height="24" class="d-yuanjiao-50 d-div-zuo"/>');
	
	        }
	    }, 'json');
	});
	
	//关注
	$(".guanzhu_list").click(function(){
	    var id = $(this).data("id");
	    $.get("{dr_url_prefix('index.php')}?s=huiyuan&c=show&m=friend&uid="+id, function(data){
	        dr_cmf_tips(data.code, data.msg);
	        if (data.data.status==1) {
				window.location.reload();
				$('#module_guanzhu_list_'+id).html(data.data);
	        	$('#guanzhu_list_'+id).html('<div class=" d-beijing-hui d-yuanjiao-20 d-neikuang-5-10 d-div-you d-wenzi-12"><i class="fa fa-check-circle-o"></i> 已关注</div>');
				
	        }else{
				window.location.reload();
				$('#module_guanzhu_list_'+id).html(data.data);
	        	$('#guanzhu_list_'+id).html('<div class=" d-beijing-hui d-yuanjiao-20 d-neikuang-5-10 d-div-you d-wenzi-12">关 注</div>');
	            
	        }
	    }, 'json');
	});
</script>

{template "fanhui.html"}

{template "footer.html"}